/**
 * NCSetMaxActiveConnectionsNumber.java
 */
package commands.nc;

/**
 * 
 * @author maciek
 *
 */
public class NCSetMaxActiveConnectionsNumber extends NetworkControllerCommand
{

	private int maxActiveConnectionNumber;
	
	/**
	 * 
	 * @param maxActiveConnectionsNumber maximum active tcp connections
	 */
	public NCSetMaxActiveConnectionsNumber(int maxActiveConnectionsNumber)
	{
		super(NetworkControllerCommandType.SET_MAX_ACTIVE_CONNECTIONS_NUMBER);
		this.maxActiveConnectionNumber=maxActiveConnectionsNumber;
	}


	/**
	 * 
	 * @return maximum active tcp connections
	 */
	public int getMaxActiveConnectionNumber()
	{
		return maxActiveConnectionNumber;
	}
	
}
